package com.ctshk.rpc.iotc.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value="优惠操作日志Req", description="优惠操作日志Req")
public class OperationLogsReq implements Serializable {

    private static final long serialVersionUID = 3550708723783790002L;

    @ApiModelProperty(value = "优惠Id")
    private Long id;

    @ApiModelProperty(value = "操作时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime localDateTime;

    @ApiModelProperty(value = "操作用户")
    private Long userId;

}
